<template>
	<div class="loading" :style="showTip === true ? '' : 'display:none'">
		<span>加载中...</span>
	</div>
</template>
<script>
	export default {
		name: 'home',
		props:['showTip'],
		data: function(){
			return {
				
			}
		}
	}
</script>
<style lang="less">
	@base:23.44/1rem;
	.loading{
		position:fixed;
		top:0;
		left:0;
		right:0;
		bottom:0;
		z-index: 99999;
		background-color: rgba(255,255,255,1);
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		flex-wrap: nowrap;
		justify-content: center;
		-webkit-justify-content: center;
		align-content: center;
		-webkit-align-content: center;
		align-items: center;
		-webkit-align-items: center;
		display: flex;
		display: -webkit-flex;
		display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */  
		display: -moz-box; /* Firefox 17- */  
		display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */  
		display: -moz-flex; /* Firefox 18+ */  
		display: -ms-flexbox; /* IE 10 */  
		span{
			display:block;
			color:#333;
			font-size: 20/@base;
			text-align: center;
		}
	}
</style>